#include "EditFactory.h"

#include "MarkDownEdit.h"

EditFactory::EditFactory()
{
}


EditFactory::~EditFactory()
{
}

NoteEdit* EditFactory::createEdit(const NoteEdit::EditType editType)
{
	NoteEdit* noteEdit = nullptr;
	switch (editType)
	{
	case NoteEdit::MarkDown:
		noteEdit = new MarkDownEdit();
		break;
	default:
		break;
	}

	return noteEdit;
}